<?php
// +----------------------------------------------------------------------
// | 发布营销活动——数据提交到121.41.120.34
// +----------------------------------------------------------------------
// | Author: GuangpengChen <1031289030@qq.com>
// +----------------------------------------------------------------------
// | Date  : 2015/03/05
// +----------------------------------------------------------------------
// | table : pft_marketing
// +----------------------------------------------------------------------
include '/var/www/html/new/d/common/header.html';
include '/var/www/html/new/d/common/left.html';
//获取访问授权token
$token = file_get_contents('http://s.12301.cc/pft/marketing/marketing.php?action=AccessToken&mid='.$_SESSION['memberID'].'&auth=' .md5('RFGrfgY5CjVP8LcYAccessToken'));
?>
<link rel="stylesheet" href="http://www.12301.cc/css/aliceui.min.css"/>
<link rel="stylesheet" href="http://www.12301.cc/css/resetui.css"/>
<link rel="stylesheet" href="http://www.12301.cc/css/prod_store.css"/>
<script language="javascript" src="http://www.12301.cc/js/jquery-1.8.0.min.js"></script>
<script src="http://www.12301.cc/js/WdatePicker.js"></script>
<div class="wrapper">
    <h3 class="mc_title">
        <span class="mctit_1"><span class="mctit_2">分享优惠活动创建</span></span>
    </h3>
    <div id="sceneryBox" class="ui-box mt10 fn-clear">
    <div class="ui-box-container">
        <div class="ui-box-content">
            <?php
            $url ="http://s.12301.cc/pft/marketing/share_page_create.php?id={$_GET['id']}&auth=".md5('share_page_create' . $token . 'RFGrfgY5CjVP8LcY')."&mid={$_SESSION['memberID']}";
            if ($_GET['dev']) {
                $url = "http://s.12301.cc/pft/marketing/create_share_page.php?auth=".md5('share_page_create' . $token . 'RFGrfgY5CjVP8LcY')."&mid={$_SESSION['memberID']}";
            }
            ?>
			<iframe scrolling="no" style="width:750px;height:980px;border:0px;" src="<?=$url?>"></iframe>
        </div>
    </div>
</div>
</div><!--div.wrapper-->
<iframe src="about:blank" style="display: none;" id="hideFrame" name="hideFrame" frameborder="0"></iframe>
<script type="text/javascript" src="http://www.12301.cc/js/prod_editk_discount.js?body=1"></script>

